package com.iot08.common.entity.app;

import com.iot08.common.entity.admin.SysUser;
import lombok.Data;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;

/**
 * @version 1.0
 * @Description: 血压配置表
 * @author: Rock
 * @time: 2021/3/8 18:20
 */
@Data
@Document("blood_pressure_setting")
public class BloodPressureSetting implements Serializable {
    private static final long serialVersionUID = 1L;

    @Field("_id")
    private String id;

    //最后一个操作者的uuid
    private String uuid;

    //最后一个操作者的openid
    private String openid;

    //当前最新值 eg: 70/100/72 (收缩压/舒张压/脉搏数)
    private String currentValue;

    //-1 /0 /1 /2 (关闭/10分钟/30分钟/60分钟)
    private Integer setFrequency;

    //媒体位ID(悬浮媒体位和插屏媒体位类型时才有)
    private Long currentValueTime;

    //配置修改时间操作时间 (更新当前值的时候不更新此字段)
    private Long setChangeTime;

}
